<template>
    <div class="load">
        <img src="../assets/images/loading.gif" alt="loading">
    </div>
    
</template>

<script>
export default {
    // eslint-disable-next-line vue/multi-word-component-names
    name: "Lifecycle",
    data() {
        return {
            mainMsg:''
        }
    },
    created: function() {
        setTimeout(() => {
            const load = document.querySelector(".load");
            load.innerHTML = "<h1>加载完成</h1>"
        }, 1000);
    }
}
</script>

<style>

</style>